package com.fresh.entity;

import java.io.Serializable;
import java.util.Date;

public class UserPermissionEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;

	public  static final   Integer  TYPE_SERVICE_0= 0 ;//服务
	public  static final   Integer  TYPE_SERVICE_1 = 1 ;//菜单
	
	// 主键
	private String id;
	// 用户id
	private String  userId;
	// 0-服务  1-菜单
	private int type;
	// 权限id  （服务： 1-反欺诈 2-评分卡   菜单: 1-权限管理  2-订单管理）
	private int permissionId;
	// 创建时间
	private int del;
	// 主键
	private Date createTime;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getPermissionId() {
		return permissionId;
	}
	public void setPermissionId(int permissionId) {
		this.permissionId = permissionId;
	}
	public int getDel() {
		return del;
	}
	public void setDel(int del) {
		this.del = del;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
